package com.ruoyi.sale.domain;

import java.util.Map;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
/**
 * 组三彩票售卖对象 sale_lottery_three
 *
 * @author szm
 * @date 2025-09-27
 */
@Data
@TableName("sale_lottery_three")
@ApiModel(value = "SaleLotteryThree对象", description = "组三彩票售卖")
public class SaleLotteryThree extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @TableField(value = "base_id")
    private String baseId;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("日期")
    @TableField(value = "lottery_date")
    private Date lotteryDate;

    /** 购买人电话 */
    @Excel(name = "购买人电话")
    @ApiModelProperty("购买人电话")
    @TableField(value = "user_phone")
    private String userPhone;

    /** 微信号 */
    @Excel(name = "微信号")
    @ApiModelProperty("微信号")
    @TableField(value = "weixin_no")
    private String weixinNo;

    /** 微信名称 */
    @Excel(name = "微信名称")
    @ApiModelProperty("微信名称")
    @TableField(value = "weixin_name")
    private String weixinName;

    /** 购买人 */
    @Excel(name = "购买人")
    @ApiModelProperty("购买人")
    @TableField(value = "user_name")
    private String userName;

    /** 原始彩票号 */
    @Excel(name = "原始彩票号")
    @ApiModelProperty("原始彩票号")
    @TableField(value = "base_buy_no")
    private String baseBuyNo;

    /** 彩票号 */
    @Excel(name = "彩票号")
    @ApiModelProperty("彩票号")
    @TableField(value = "lottery_no")
    private String lotteryNo;

    /** 1直选 2组三 3组六 */
    @Excel(name = "1直选 2组三 3组六")
    @ApiModelProperty("1直选 2组三 3组六")
    @TableField(value = "lottery_type")
    private Integer lotteryType;

    /** 1直选 2组三 3组六 */
    @Excel(name = "1直选 2组三 3组六")
    @ApiModelProperty("1直选 2组三 3组六")
    @TableField(value = "lottery_name")
    private String lotteryName;

    /** 倍数 */
    @Excel(name = "倍数")
    @ApiModelProperty("倍数")
    @TableField(value = "multiple")
    private BigDecimal multiple;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    @TableField(value = "remark")
    private String remark;

    /** 创建者 */
    @ApiModelProperty("创建者")
    @TableField(value = "create_by")
    private String createBy;

    /** 创建时间 */
    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private Date createTime;

    /** 更新者 */
    @ApiModelProperty("更新者")
    @TableField(value = "update_by")
    private String updateBy;

    /** 更新时间 */
    @ApiModelProperty("更新时间")
    @TableField(value = "update_time")
    private Date updateTime;

    /** 请求参数 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @TableField(exist = false)
    private Map<String, Object> params;
}
